package com.right.service;


import java.util.List;

import com.Tools.PageData;
import com.right.entity.Users;

public interface UserService {
	public boolean addusers(Users users);

	public boolean delusers(int userid);

	public boolean login(String username, String userpwd);

	public boolean updateusers(Users users);

	public Users getUserByName(String username);
	
	public Users getUserByid(int userid);
	
	public PageData<Users> getUserByPage(int page, int pageSize, String keywords);
	
	public Users getIdByName(String username);
}
